.Products {
  display: flex;
  padding-top: 10px;
  box-sizing: border-box;

  overflow-x: scroll;

  &::-webkit-scrollbar {
    width: 0;
    height: 0;
    color: transparent;
    display: none;
  }
}

.Product {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;

  width: 292px;
  height: 100%;
  margin-left: 20px;
  box-sizing: border-box;
  position: relative;
  margin-left: 20px;

  :global {
    .img {
      flex-shrink: 0;
      width: 292px;
      height: 292px;
    }

    .product-info {
      flex-shrink: 0;
      margin: 20px 20px 0 0;
      position: relative;

      display: flex;
      flex-direction: column;

      &.center {
        align-items: center;
      }

      .name {
        font-family: PingFangSC-Regular;
        font-size: 28px;
        color: #212121;
        height: 38px;
        line-height: 38px;
      }

      .title {
        flex-shrink: 0;
        height: 76px;

        &.center {
          .tags {
            justify-content: center;
          }
        }

        .goods-title {
          max-width: 100%;
          font-size: 28px;
          color: #212121;
          line-height: 38px;
          height: 76px;
          font-family: PingFangSC-Regular;
          font-weight: 400;

          &.tag {
            height: 38px;
          }
        }

        .tags {
          margin-top: 10px;
          max-width: 100%;

          .tag {
            height: 26px;
            border-radius: 2px;
            margin-right: 8px;
          }
        }
      }

      .progress {
        flex-shrink: 0;

        width: 210px;
        margin-top: 10px;
        margin-bottom: 10px;
        height: 10px;
        position: relative;
        border-radius: 10px;
        overflow: hidden;

        .inner {
          height: 10px;
          position: absolute;
          top: 0;
          left: 0;
          bottom: 0;
          border-radius: 10px;
        }
      }

      .not-start {
        flex-shrink: 0;

        height: 36px;
        margin-top: 6px;

        .tag {
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 2px;
          width: fit-content;

          .txt {
            font-size: 12px;
            padding: 0 7px;
          }
        }
      }

      .sales {
        flex-shrink: 0;

        font-size: 24px;
        font-weight: 400;
        color: #999;
        line-height: 36px;
      }
    }

    .line {
      flex-shrink: 0;

      margin-top: 27px;
      margin-bottom: 35px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      width: 100%;
      padding-right: 20px;
      box-sizing: border-box;

      &.center {
        justify-content: center;
      }

      .price {
        display: flex;
        align-items: flex-end;

        .sale-price {
          display: flex;
          align-items: flex-end;
          font-family: PingFangSC-Semibold;

          .price-0 {
            padding-right: 4px;

            font-size: 30px;
            line-height: 28px;
            font-weight: 700;
          }

          .price-1 {
            font-size: 34px;
            line-height: 34px;
            font-weight: 700;
          }

          .price-2 {
            font-size: 24px;
            letter-spacing: 0;
            line-height: 24px;
          }
        }

        .underline-price {
          font-family: PingFang-SC-Regular;
          margin-left: 8px;

          font-weight: 400;
          padding-right: 4px;
          font-size: 22px;
          color: #9e9e9e;
          letter-spacing: 0;
          line-height: 24px;
          text-decoration: line-through;
        }
      }

      .cart {
        display: flex;
        justify-content: center;
        align-items: center;

        height: 54px;
        border-radius: 4px;

        .txt {
          padding: 0 30px;
          font-size: 24px;
          color: #fff;
        }
      }
    }
  }
}
